﻿using DataServer.Entities;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataServer.Utils
{
    public class MakeWebReturnCode
    {
        public static string MakeCode(int retCode)
        {
            WebReturnCode webRetCode = new WebReturnCode();
            webRetCode.Code = retCode;

            return JsonConvert.SerializeObject(webRetCode);
        }
    }
}
